Long overdue cleanup of X509 policy tree verification
Replace all magic numbers with #defined constants except in boolean
functions that return 0 for failure and 1 for success. Avoid a
couple memory leaks in error recovery code paths. Code style
improvements.
Reviewed-by: Dr. Stephen Henson <steve@openssl.org>
Showing
- crypto/x509/x509_vfy.c 7 additions, 3 deletionscrypto/x509/x509_vfy.c
- crypto/x509v3/pcy_node.c 1 addition, 2 deletionscrypto/x509v3/pcy_node.c
- crypto/x509v3/pcy_tree.c 216 additions, 242 deletionscrypto/x509v3/pcy_tree.c
- include/openssl/x509_vfy.h 20 additions, 8 deletionsinclude/openssl/x509_vfy.h
Please register or sign in to comment