Fix strange formatting by indent
[openssl.git] / crypto / asn1 / d2i_pu.c
index c8f39ceb037beb1fef1cc42ed839a53fc7847871..1408eb2aab357e744c4154d495b8e3a7c4282e88 100644 (file)
@@ -97,8 +97,9 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
                {
 #ifndef OPENSSL_NO_RSA
        case EVP_PKEY_RSA:
+               /* TMP UGLY CAST */
                if ((ret->pkey.rsa=d2i_RSAPublicKey(NULL,
-                       (const unsigned char **)pp,length)) == NULL) /* TMP UGLY CAST */
+                       (const unsigned char **)pp,length)) == NULL)
                        {
                        ASN1err(ASN1_F_D2I_PUBLICKEY,ERR_R_ASN1_LIB);
                        goto err;
@@ -107,8 +108,9 @@ EVP_PKEY *d2i_PublicKey(int type, EVP_PKEY **a, const unsigned char **pp,
 #endif
 #ifndef OPENSSL_NO_DSA
        case EVP_PKEY_DSA:
+               /* TMP UGLY CAST */
                if (!d2i_DSAPublicKey(&(ret->pkey.dsa),
-                       (const unsigned char **)pp,length)) /* TMP UGLY CAST */
+                       (const unsigned char **)pp,length))
                        {
                        ASN1err(ASN1_F_D2I_PUBLICKEY,ERR_R_ASN1_LIB);
                        goto err;