replace ;; with ; as statement separator
authorPauli <pauli@openssl.org>
Sun, 16 Jan 2022 23:37:20 +0000 (10:37 +1100)
committerPauli <pauli@openssl.org>
Tue, 18 Jan 2022 04:10:38 +0000 (15:10 +1100)
Fixes #17525

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17528)

crypto/rsa/rsa_backend.c
crypto/x509/x509_trust.c
providers/implementations/keymgmt/dh_kmgmt.c

index dc397a6676d0cf52efede2c95af4b38d68c649ce..ae071f18bff77ff17670b3a2bf654e2f4750c200 100644 (file)
@@ -523,7 +523,7 @@ int ossl_rsa_pss_get_param_unverified(const RSA_PSS_PARAMS *pss,
     if (pss->trailerField)
         *ptrailerField = ASN1_INTEGER_get(pss->trailerField);
     else
-        *ptrailerField = ossl_rsa_pss_params_30_trailerfield(&pss_params);;
+        *ptrailerField = ossl_rsa_pss_params_30_trailerfield(&pss_params);
 
     return 1;
 }
index ff578aee73d461a5036b649f0013a09945f3dd5c..e71db0c9a1cf24336c3d7450088c6aca8140c800 100644 (file)
@@ -166,7 +166,7 @@ int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int),
         if (trtable == NULL
             && (trtable = sk_X509_TRUST_new(tr_cmp)) == NULL) {
             ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE);
-            goto err;;
+            goto err;
         }
         if (!sk_X509_TRUST_push(trtable, trtmp)) {
             ERR_raise(ERR_LIB_X509, ERR_R_MALLOC_FAILURE);
index ab8ef3ac525dbb8040ef314e49a506f0d7caec4f..b49cfd5291b2790f3503df028b098bb8ca41bd55 100644 (file)
@@ -391,7 +391,7 @@ static int dh_validate_private(const DH *dh)
     DH_get0_key(dh, NULL, &priv_key);
     if (priv_key == NULL)
         return 0;
-    return ossl_dh_check_priv_key(dh, priv_key, &status);;
+    return ossl_dh_check_priv_key(dh, priv_key, &status);
 }
 
 static int dh_validate(const void *keydata, int selection, int checktype)