diff options
author | millert <> | 2003-08-06 21:08:06 +0000 |
---|---|---|
committer | millert <> | 2003-08-06 21:08:06 +0000 |
commit | a020ac4fb1142d0bfea481464fcb724c23cf8e87 (patch) | |
tree | a8aa385ffec669550db50f43b95c3c90ed5e09b1 /src | |
parent | 846bdf59cc19d7049d903acfc3dd5cd50a11b84b (diff) | |
download | openbsd-a020ac4fb1142d0bfea481464fcb724c23cf8e87.tar.gz openbsd-a020ac4fb1142d0bfea481464fcb724c23cf8e87.tar.bz2 openbsd-a020ac4fb1142d0bfea481464fcb724c23cf8e87.zip |
Remove some double semicolons (hmm, do two semis equal a maxi?).
I've skipped the GNU stuff for now. From Patrick Latifi.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/asn1/a_bytes.c | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/asn1/t_x509.c | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_utl.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/s3_clnt.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/ca.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/apps/s_client.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/a_bytes.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/asn1/t_x509.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/crypto/x509v3/v3_utl.c | 2 | ||||
-rw-r--r-- | src/lib/libssl/src/ssl/s3_clnt.c | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/a_bytes.c b/src/lib/libcrypto/asn1/a_bytes.c index afd27b80e1..2407f7c87a 100644 --- a/src/lib/libcrypto/asn1/a_bytes.c +++ b/src/lib/libcrypto/asn1/a_bytes.c | |||
@@ -78,7 +78,7 @@ ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, unsigned char **pp, | |||
78 | 78 | ||
79 | if (tag >= 32) | 79 | if (tag >= 32) |
80 | { | 80 | { |
81 | i=ASN1_R_TAG_VALUE_TOO_HIGH;; | 81 | i=ASN1_R_TAG_VALUE_TOO_HIGH; |
82 | goto err; | 82 | goto err; |
83 | } | 83 | } |
84 | if (!(ASN1_tag2bit(tag) & type)) | 84 | if (!(ASN1_tag2bit(tag) & type)) |
diff --git a/src/lib/libcrypto/asn1/t_x509.c b/src/lib/libcrypto/asn1/t_x509.c index d1034c47f8..30f68561b7 100644 --- a/src/lib/libcrypto/asn1/t_x509.c +++ b/src/lib/libcrypto/asn1/t_x509.c | |||
@@ -321,7 +321,7 @@ int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) | |||
321 | int ASN1_STRING_print(BIO *bp, ASN1_STRING *v) | 321 | int ASN1_STRING_print(BIO *bp, ASN1_STRING *v) |
322 | { | 322 | { |
323 | int i,n; | 323 | int i,n; |
324 | char buf[80],*p;; | 324 | char buf[80],*p; |
325 | 325 | ||
326 | if (v == NULL) return(0); | 326 | if (v == NULL) return(0); |
327 | n=0; | 327 | n=0; |
diff --git a/src/lib/libcrypto/x509v3/v3_utl.c b/src/lib/libcrypto/x509v3/v3_utl.c index 34ac2998de..466c91d0e8 100644 --- a/src/lib/libcrypto/x509v3/v3_utl.c +++ b/src/lib/libcrypto/x509v3/v3_utl.c | |||
@@ -78,7 +78,7 @@ int X509V3_add_value(const char *name, const char *value, | |||
78 | CONF_VALUE *vtmp = NULL; | 78 | CONF_VALUE *vtmp = NULL; |
79 | char *tname = NULL, *tvalue = NULL; | 79 | char *tname = NULL, *tvalue = NULL; |
80 | if(name && !(tname = BUF_strdup(name))) goto err; | 80 | if(name && !(tname = BUF_strdup(name))) goto err; |
81 | if(value && !(tvalue = BUF_strdup(value))) goto err;; | 81 | if(value && !(tvalue = BUF_strdup(value))) goto err; |
82 | if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err; | 82 | if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err; |
83 | if(!*extlist && !(*extlist = sk_CONF_VALUE_new_null())) goto err; | 83 | if(!*extlist && !(*extlist = sk_CONF_VALUE_new_null())) goto err; |
84 | vtmp->section = NULL; | 84 | vtmp->section = NULL; |
diff --git a/src/lib/libssl/s3_clnt.c b/src/lib/libssl/s3_clnt.c index d32bb1cb9c..b35d1b0107 100644 --- a/src/lib/libssl/s3_clnt.c +++ b/src/lib/libssl/s3_clnt.c | |||
@@ -168,7 +168,7 @@ int ssl3_connect(SSL *s) | |||
168 | long num1; | 168 | long num1; |
169 | void (*cb)(const SSL *ssl,int type,int val)=NULL; | 169 | void (*cb)(const SSL *ssl,int type,int val)=NULL; |
170 | int ret= -1; | 170 | int ret= -1; |
171 | int new_state,state,skip=0;; | 171 | int new_state,state,skip=0; |
172 | 172 | ||
173 | RAND_add(&Time,sizeof(Time),0); | 173 | RAND_add(&Time,sizeof(Time),0); |
174 | ERR_clear_error(); | 174 | ERR_clear_error(); |
diff --git a/src/lib/libssl/src/apps/ca.c b/src/lib/libssl/src/apps/ca.c index 6c6d3f0d26..f979dfe85f 100644 --- a/src/lib/libssl/src/apps/ca.c +++ b/src/lib/libssl/src/apps/ca.c | |||
@@ -2173,7 +2173,7 @@ again2: | |||
2173 | p="Valid"; | 2173 | p="Valid"; |
2174 | else | 2174 | else |
2175 | p="\ninvalid type, Data base error\n"; | 2175 | p="\ninvalid type, Data base error\n"; |
2176 | BIO_printf(bio_err,"Type :%s\n",p);; | 2176 | BIO_printf(bio_err,"Type :%s\n",p); |
2177 | if (rrow[DB_type][0] == 'R') | 2177 | if (rrow[DB_type][0] == 'R') |
2178 | { | 2178 | { |
2179 | p=rrow[DB_exp_date]; if (p == NULL) p="undef"; | 2179 | p=rrow[DB_exp_date]; if (p == NULL) p="undef"; |
diff --git a/src/lib/libssl/src/apps/s_client.c b/src/lib/libssl/src/apps/s_client.c index 2e73f34676..efa4902abd 100644 --- a/src/lib/libssl/src/apps/s_client.c +++ b/src/lib/libssl/src/apps/s_client.c | |||
@@ -785,7 +785,7 @@ re_start: | |||
785 | /* goto end; */ | 785 | /* goto end; */ |
786 | } | 786 | } |
787 | 787 | ||
788 | sbuf_len-=i;; | 788 | sbuf_len-=i; |
789 | sbuf_off+=i; | 789 | sbuf_off+=i; |
790 | if (sbuf_len <= 0) | 790 | if (sbuf_len <= 0) |
791 | { | 791 | { |
diff --git a/src/lib/libssl/src/crypto/asn1/a_bytes.c b/src/lib/libssl/src/crypto/asn1/a_bytes.c index afd27b80e1..2407f7c87a 100644 --- a/src/lib/libssl/src/crypto/asn1/a_bytes.c +++ b/src/lib/libssl/src/crypto/asn1/a_bytes.c | |||
@@ -78,7 +78,7 @@ ASN1_STRING *d2i_ASN1_type_bytes(ASN1_STRING **a, unsigned char **pp, | |||
78 | 78 | ||
79 | if (tag >= 32) | 79 | if (tag >= 32) |
80 | { | 80 | { |
81 | i=ASN1_R_TAG_VALUE_TOO_HIGH;; | 81 | i=ASN1_R_TAG_VALUE_TOO_HIGH; |
82 | goto err; | 82 | goto err; |
83 | } | 83 | } |
84 | if (!(ASN1_tag2bit(tag) & type)) | 84 | if (!(ASN1_tag2bit(tag) & type)) |
diff --git a/src/lib/libssl/src/crypto/asn1/t_x509.c b/src/lib/libssl/src/crypto/asn1/t_x509.c index d1034c47f8..30f68561b7 100644 --- a/src/lib/libssl/src/crypto/asn1/t_x509.c +++ b/src/lib/libssl/src/crypto/asn1/t_x509.c | |||
@@ -321,7 +321,7 @@ int X509_signature_print(BIO *bp, X509_ALGOR *sigalg, ASN1_STRING *sig) | |||
321 | int ASN1_STRING_print(BIO *bp, ASN1_STRING *v) | 321 | int ASN1_STRING_print(BIO *bp, ASN1_STRING *v) |
322 | { | 322 | { |
323 | int i,n; | 323 | int i,n; |
324 | char buf[80],*p;; | 324 | char buf[80],*p; |
325 | 325 | ||
326 | if (v == NULL) return(0); | 326 | if (v == NULL) return(0); |
327 | n=0; | 327 | n=0; |
diff --git a/src/lib/libssl/src/crypto/x509v3/v3_utl.c b/src/lib/libssl/src/crypto/x509v3/v3_utl.c index 34ac2998de..466c91d0e8 100644 --- a/src/lib/libssl/src/crypto/x509v3/v3_utl.c +++ b/src/lib/libssl/src/crypto/x509v3/v3_utl.c | |||
@@ -78,7 +78,7 @@ int X509V3_add_value(const char *name, const char *value, | |||
78 | CONF_VALUE *vtmp = NULL; | 78 | CONF_VALUE *vtmp = NULL; |
79 | char *tname = NULL, *tvalue = NULL; | 79 | char *tname = NULL, *tvalue = NULL; |
80 | if(name && !(tname = BUF_strdup(name))) goto err; | 80 | if(name && !(tname = BUF_strdup(name))) goto err; |
81 | if(value && !(tvalue = BUF_strdup(value))) goto err;; | 81 | if(value && !(tvalue = BUF_strdup(value))) goto err; |
82 | if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err; | 82 | if(!(vtmp = (CONF_VALUE *)OPENSSL_malloc(sizeof(CONF_VALUE)))) goto err; |
83 | if(!*extlist && !(*extlist = sk_CONF_VALUE_new_null())) goto err; | 83 | if(!*extlist && !(*extlist = sk_CONF_VALUE_new_null())) goto err; |
84 | vtmp->section = NULL; | 84 | vtmp->section = NULL; |
diff --git a/src/lib/libssl/src/ssl/s3_clnt.c b/src/lib/libssl/src/ssl/s3_clnt.c index d32bb1cb9c..b35d1b0107 100644 --- a/src/lib/libssl/src/ssl/s3_clnt.c +++ b/src/lib/libssl/src/ssl/s3_clnt.c | |||
@@ -168,7 +168,7 @@ int ssl3_connect(SSL *s) | |||
168 | long num1; | 168 | long num1; |
169 | void (*cb)(const SSL *ssl,int type,int val)=NULL; | 169 | void (*cb)(const SSL *ssl,int type,int val)=NULL; |
170 | int ret= -1; | 170 | int ret= -1; |
171 | int new_state,state,skip=0;; | 171 | int new_state,state,skip=0; |
172 | 172 | ||
173 | RAND_add(&Time,sizeof(Time),0); | 173 | RAND_add(&Time,sizeof(Time),0); |
174 | ERR_clear_error(); | 174 | ERR_clear_error(); |