aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl')
-rw-r--r--lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl25
1 files changed, 0 insertions, 25 deletions
diff --git a/lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl b/lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl
deleted file mode 100644
index 414f1f9279b8..000000000000
--- a/lang/erlang14/files/patch-lib_public__key_src_pubkey__cert.erl
+++ /dev/null
@@ -1,25 +0,0 @@
-
-$FreeBSD$
-
---- lib/public_key/src/pubkey_cert.erl.orig
-+++ lib/public_key/src/pubkey_cert.erl
-@@ -223,10 +223,15 @@
- %%--------------------------------------------------------------------
- validate_extensions(OtpCert, ValidationState, UserState, VerifyFun) ->
- TBSCert = OtpCert#'OTPCertificate'.tbsCertificate,
-- Extensions = TBSCert#'OTPTBSCertificate'.extensions,
-- validate_extensions(OtpCert, Extensions, ValidationState, no_basic_constraint,
-- is_self_signed(OtpCert), UserState, VerifyFun).
--
-+ case TBSCert#'OTPTBSCertificate'.version of
-+ N when N >= 3 ->
-+ Extensions = TBSCert#'OTPTBSCertificate'.extensions,
-+ validate_extensions(OtpCert, Extensions,
-+ ValidationState, no_basic_constraint,
-+ is_self_signed(OtpCert), UserState, VerifyFun);
-+ _ -> %% Extensions not present in versions 1 & 2
-+ {ValidationState, UserState}
-+ end.
- %%--------------------------------------------------------------------
- -spec normalize_general_name({rdnSequence, term()}) -> {rdnSequence, term()}.
- %%