EX-23.1 4 cik-20221231xex23d1.htm EX-23.1

Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statement on Form S-8 (No. 333-181794) of CompX International Inc. of our report dated March 1, 2023 relating to the financial statements, which appears in this Form 10-K.

2

/s/ PricewaterhouseCoopers LLP

Dallas, Texas

March 1, 2023