diff options
| author | jsing <> | 2014-04-19 06:15:56 +0000 |
|---|---|---|
| committer | jsing <> | 2014-04-19 06:15:56 +0000 |
| commit | 2a0636b8bd35ee08c20816fa56e6c24a9f924bab (patch) | |
| tree | b8cc0bcb9a34f43a0d37d61cbfba21c5645c3c95 /src/lib/libcrypto/asn1/nsseq.c | |
| parent | f15b58ab9c9f635ba829753251c22b3da4683b00 (diff) | |
| download | openbsd-2a0636b8bd35ee08c20816fa56e6c24a9f924bab.tar.gz openbsd-2a0636b8bd35ee08c20816fa56e6c24a9f924bab.tar.bz2 openbsd-2a0636b8bd35ee08c20816fa56e6c24a9f924bab.zip | |
More KNF.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/asn1/nsseq.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/asn1/nsseq.c b/src/lib/libcrypto/asn1/nsseq.c index b8c4202230..3e7c73cb91 100644 --- a/src/lib/libcrypto/asn1/nsseq.c +++ b/src/lib/libcrypto/asn1/nsseq.c | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | * are met: | 10 | * are met: |
| 11 | * | 11 | * |
| 12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * | 14 | * |
| 15 | * 2. Redistributions in binary form must reproduce the above copyright | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
| 16 | * notice, this list of conditions and the following disclaimer in | 16 | * notice, this list of conditions and the following disclaimer in |
| @@ -62,10 +62,10 @@ | |||
| 62 | #include <openssl/x509.h> | 62 | #include <openssl/x509.h> |
| 63 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
| 64 | 64 | ||
| 65 | static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, | 65 | static int |
| 66 | void *exarg) | 66 | nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, void *exarg) |
| 67 | { | 67 | { |
| 68 | if(operation == ASN1_OP_NEW_POST) { | 68 | if (operation == ASN1_OP_NEW_POST) { |
| 69 | NETSCAPE_CERT_SEQUENCE *nsseq; | 69 | NETSCAPE_CERT_SEQUENCE *nsseq; |
| 70 | nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval; | 70 | nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval; |
| 71 | nsseq->type = OBJ_nid2obj(NID_netscape_cert_sequence); | 71 | nsseq->type = OBJ_nid2obj(NID_netscape_cert_sequence); |
