fix formatting so that the file can be view with any tab-width
This commit is contained in:
parent
3cad81f6fe
commit
e1a4814cd4
@ -85,7 +85,7 @@ int RSA_padding_add_PKCS1_OAEP(unsigned char *to, int tlen,
|
|||||||
seed[i] ^= seedmask[i];
|
seed[i] ^= seedmask[i];
|
||||||
|
|
||||||
OPENSSL_free(dbmask);
|
OPENSSL_free(dbmask);
|
||||||
return (1);
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
|
int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
|
||||||
@ -145,7 +145,7 @@ int RSA_padding_check_PKCS1_OAEP(unsigned char *to, int tlen,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
OPENSSL_free(db);
|
OPENSSL_free(db);
|
||||||
return (mlen);
|
return mlen;
|
||||||
|
|
||||||
decoding_err:
|
decoding_err:
|
||||||
/* to avoid chosen ciphertext attacks, the error message should not reveal
|
/* to avoid chosen ciphertext attacks, the error message should not reveal
|
||||||
@ -186,6 +186,6 @@ int MGF1(unsigned char *mask, long len,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EVP_MD_CTX_cleanup(&c);
|
EVP_MD_CTX_cleanup(&c);
|
||||||
return (0);
|
return 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user