X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=CryptoPkg%2FLibrary%2FBaseCryptLib%2FPk%2FCryptRsaBasic.c;h=d828cb4b3f309b9899482fc819eba6ca1aa74305;hp=6bf95deb589c95ac7e01844d11bef7a8efceb7c0;hb=6b8ebcb8de52ae5cab543181712e53eeb94340a7;hpb=805c2dd1198760778d6460280f5cc5e93a04d612;ds=sidebyside diff --git a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c index 6bf95deb58..d828cb4b3f 100644 --- a/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c +++ b/CryptoPkg/Library/BaseCryptLib/Pk/CryptRsaBasic.c @@ -40,7 +40,7 @@ RsaNew ( // // Allocates & Initializes RSA Context by OpenSSL RSA_new() // - return (VOID *)RSA_new (); + return (VOID *) RSA_new (); } /** @@ -58,7 +58,7 @@ RsaFree ( // // Free OpenSSL RSA Context // - RSA_free ((RSA *)RsaContext); + RSA_free ((RSA *) RsaContext); } /** @@ -101,7 +101,7 @@ RsaSetKey ( return FALSE; } - RsaKey = (RSA *)RsaContext; + RsaKey = (RSA *) RsaContext; // // Set RSA Key Components by converting octet string to OpenSSL BN representation. // NOTE: For RSA public key (used in signature verification), only public components