Line 0
Link Here
|
|
|
1 |
--- bin/x509dec/x509dec.c 2005-05-30 19:17:31.000000000 +0900 |
2 |
+++ bin/x509dec/x509dec.c 2008-01-01 06:02:24.000000000 +0900 |
3 |
@@ -244,13 +244,13 @@ x509dec_on_evp(const X509 *const x509) |
4 |
|
5 |
TAILQ_INIT(&head); |
6 |
|
7 |
- if(!((unsigned char *)pubkey = |
8 |
+ if(!(pubkey = |
9 |
X509dec_get_pubkey(x509, &pubkeylen))) { |
10 |
|
11 |
return(x509dec_on_evp_return(false, pubkey, subject_name)); |
12 |
} |
13 |
|
14 |
- if(!((unsigned char *)subject_name = |
15 |
+ if(!(subject_name = |
16 |
X509dec_get_subject_name(x509, (int *)&subject_namelen))) { |
17 |
|
18 |
return(x509dec_on_evp_return(false, pubkey, subject_name)); |