summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/x509/x509_purp.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c
index 8b8075b00e..c5f199676e 100644
--- a/src/lib/libcrypto/x509/x509_purp.c
+++ b/src/lib/libcrypto/x509/x509_purp.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_purp.c,v 1.31 2023/12/31 07:10:50 tb Exp $ */ 1/* $OpenBSD: x509_purp.c,v 1.32 2023/12/31 07:14:42 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2001. 3 * project 2001.
4 */ 4 */
@@ -395,20 +395,20 @@ int
395X509_supported_extension(X509_EXTENSION *ext) 395X509_supported_extension(X509_EXTENSION *ext)
396{ 396{
397 switch(OBJ_obj2nid(X509_EXTENSION_get_object(ext))) { 397 switch(OBJ_obj2nid(X509_EXTENSION_get_object(ext))) {
398 case NID_netscape_cert_type:
399 case NID_key_usage:
400 case NID_subject_alt_name:
401 case NID_basic_constraints: 398 case NID_basic_constraints:
402 case NID_certificate_policies: 399 case NID_certificate_policies:
403 case NID_ext_key_usage: 400 case NID_ext_key_usage:
401 case NID_inhibit_any_policy:
402 case NID_key_usage:
403 case NID_name_constraints:
404 case NID_netscape_cert_type:
405 case NID_policy_constraints:
406 case NID_policy_mappings:
404#ifndef OPENSSL_NO_RFC3779 407#ifndef OPENSSL_NO_RFC3779
405 case NID_sbgp_ipAddrBlock: 408 case NID_sbgp_ipAddrBlock:
406 case NID_sbgp_autonomousSysNum: 409 case NID_sbgp_autonomousSysNum:
407#endif 410#endif
408 case NID_policy_constraints: 411 case NID_subject_alt_name:
409 case NID_name_constraints:
410 case NID_policy_mappings:
411 case NID_inhibit_any_policy:
412 return 1; 412 return 1;
413 default: 413 default:
414 return 0; 414 return 0;