summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/x_x509.c
diff options
context:
space:
mode:
authortedu <>2014-04-18 00:10:08 +0000
committertedu <>2014-04-18 00:10:08 +0000
commit07f5c09b19f56c323fa22ebd5efb5a4df9f5dc4d (patch)
tree6327d50d69a1982f840dc68fe928ea459e2c41e0 /src/lib/libcrypto/asn1/x_x509.c
parent288a9e368d9d4a72792b12a00ad69e3592d94073 (diff)
downloadopenbsd-07f5c09b19f56c323fa22ebd5efb5a4df9f5dc4d.tar.gz
openbsd-07f5c09b19f56c323fa22ebd5efb5a4df9f5dc4d.tar.bz2
openbsd-07f5c09b19f56c323fa22ebd5efb5a4df9f5dc4d.zip
putting most of the braces in the right column is the very least we can do.
Diffstat (limited to 'src/lib/libcrypto/asn1/x_x509.c')
-rw-r--r--src/lib/libcrypto/asn1/x_x509.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c
index 5734f2b069..ff8bd77024 100644
--- a/src/lib/libcrypto/asn1/x_x509.c
+++ b/src/lib/libcrypto/asn1/x_x509.c
@@ -143,20 +143,20 @@ IMPLEMENT_ASN1_DUP_FUNCTION(X509)
143 143
144int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, 144int X509_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func,
145 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func) 145 CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
146 { 146{
147 return CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509, argl, argp, 147 return CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509, argl, argp,
148 new_func, dup_func, free_func); 148 new_func, dup_func, free_func);
149 } 149}
150 150
151int X509_set_ex_data(X509 *r, int idx, void *arg) 151int X509_set_ex_data(X509 *r, int idx, void *arg)
152 { 152{
153 return(CRYPTO_set_ex_data(&r->ex_data,idx,arg)); 153 return(CRYPTO_set_ex_data(&r->ex_data,idx,arg));
154 } 154}
155 155
156void *X509_get_ex_data(X509 *r, int idx) 156void *X509_get_ex_data(X509 *r, int idx)
157 { 157{
158 return(CRYPTO_get_ex_data(&r->ex_data,idx)); 158 return(CRYPTO_get_ex_data(&r->ex_data,idx));
159 } 159}
160 160
161/* X509_AUX ASN1 routines. X509_AUX is the name given to 161/* X509_AUX ASN1 routines. X509_AUX is the name given to
162 * a certificate with extra info tagged on the end. Since these 162 * a certificate with extra info tagged on the end. Since these