From: Pauli Date: Sun, 16 Jan 2022 23:37:20 +0000 (+1100) Subject: replace ;; with ; as statement separator X-Git-Tag: openssl-3.2.0-alpha1~3059 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d715dbd8e566e7827ce8b2e9b6687c2bcd8a89a0;p=thirdparty%2Fopenssl.git replace ;; with ; as statement separator Fixes #17525 Reviewed-by: Tim Hudson Reviewed-by: Bernd Edlinger Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/17528) --- diff --git a/crypto/rsa/rsa_backend.c b/crypto/rsa/rsa_backend.c index dc397a6676d..ae071f18bff 100644 --- a/crypto/rsa/rsa_backend.c +++ b/crypto/rsa/rsa_backend.c @@ -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; } diff --git a/crypto/x509/x509_trust.c b/crypto/x509/x509_trust.c index ff578aee73d..e71db0c9a1c 100644 --- a/crypto/x509/x509_trust.c +++ b/crypto/x509/x509_trust.c @@ -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); diff --git a/providers/implementations/keymgmt/dh_kmgmt.c b/providers/implementations/keymgmt/dh_kmgmt.c index ab8ef3ac525..b49cfd5291b 100644 --- a/providers/implementations/keymgmt/dh_kmgmt.c +++ b/providers/implementations/keymgmt/dh_kmgmt.c @@ -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)