summaryrefslogtreecommitdiffstats
path: root/PICA_security.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2018-07-29 01:00:46 +0400
committerAnton <anton@picapica>2018-07-29 01:00:46 +0400
commitb38cc90f5b38138687263f574a408e17c1f7b2d6 (patch)
treea4ca485c2e4f80b421e7bb148e0c79f4f21b4473 /PICA_security.h
parentd240ed3e88dbb164d36a8007939b4ab7913f8435 (diff)
downloadpica-pica-b38cc90f5b38138687263f574a408e17c1f7b2d6.tar.gz
pica-pica-b38cc90f5b38138687263f574a408e17c1f7b2d6.zip
moved common peer certificate verification code into new func verify_peer_cert_common(); added check for min RSA key size
Diffstat (limited to 'PICA_security.h')
-rw-r--r--PICA_security.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/PICA_security.h b/PICA_security.h
index 0ea3306..c928adb 100644
--- a/PICA_security.h
+++ b/PICA_security.h
@@ -21,7 +21,7 @@
/* Important security parameters grouped together */
-#define PICA_RSA_KEYSIZE 4096
+#define PICA_RSA_MINKEYSIZE 4096
#define PICA_TLS_CIPHERLIST "DHE-RSA-AES256-GCM-SHA384:DHE-RSA-CAMELLIA256-SHA"
#define PICA_OPENSSL_SECURUTY_LEVEL 3
#define PICA_CERTDIGESTALGO "-sha256"