aboutsummaryrefslogtreecommitdiff
path: root/net/v6eval/files/patch-x509dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/v6eval/files/patch-x509dec.c')
-rw-r--r--net/v6eval/files/patch-x509dec.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/v6eval/files/patch-x509dec.c b/net/v6eval/files/patch-x509dec.c
new file mode 100644
index 000000000000..fd6a9afa91cf
--- /dev/null
+++ b/net/v6eval/files/patch-x509dec.c
@@ -0,0 +1,18 @@
+--- bin/x509dec/x509dec.c 2005-05-30 19:17:31.000000000 +0900
++++ bin/x509dec/x509dec.c 2008-01-01 06:02:24.000000000 +0900
+@@ -244,13 +244,13 @@ x509dec_on_evp(const X509 *const x509)
+
+ TAILQ_INIT(&head);
+
+- if(!((unsigned char *)pubkey =
++ if(!(pubkey =
+ X509dec_get_pubkey(x509, &pubkeylen))) {
+
+ return(x509dec_on_evp_return(false, pubkey, subject_name));
+ }
+
+- if(!((unsigned char *)subject_name =
++ if(!(subject_name =
+ X509dec_get_subject_name(x509, (int *)&subject_namelen))) {
+
+ return(x509dec_on_evp_return(false, pubkey, subject_name));