res_crypto: Don't load non-regular files in keys directory

ASTERISK-30046

Change-Id: Ie77e0648f8b0b1c2159fb24662d1989cfd4cc36d
This commit is contained in:
Philip Prindeville
2022-04-26 19:44:32 -06:00
committed by Friendly Automation
parent 6c73d3bc08
commit 6efce9e18e
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
Subject: res_crypto
In addition to only paying attention to files ending with .key or .pub
in the keys directory, we now also ignore any files which aren't regular
files.