mirror of https://github.com/openssl/openssl.git
				
				
				
			apps: support param argument to init functions
Reviewed-by: Shane Lontis <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/14383)
This commit is contained in:
		
							parent
							
								
									5a084c5f0b
								
							
						
					
					
						commit
						ebbf3563bd
					
				|  | @ -606,11 +606,13 @@ static EVP_PKEY_CTX *init_ctx(const char *kdfalg, int *pkeysize, | ||||||
| 
 | 
 | ||||||
|         switch (pkey_op) { |         switch (pkey_op) { | ||||||
|         case EVP_PKEY_OP_SIGN: |         case EVP_PKEY_OP_SIGN: | ||||||
|             rv = EVP_DigestSignInit_ex(mctx, NULL, digestname, libctx, propq, pkey); |             rv = EVP_DigestSignInit_ex(mctx, NULL, digestname, libctx, propq, | ||||||
|  |                                        pkey, NULL); | ||||||
|             break; |             break; | ||||||
| 
 | 
 | ||||||
|         case EVP_PKEY_OP_VERIFY: |         case EVP_PKEY_OP_VERIFY: | ||||||
|             rv = EVP_DigestVerifyInit_ex(mctx, NULL, digestname, libctx, propq, pkey); |             rv = EVP_DigestVerifyInit_ex(mctx, NULL, digestname, libctx, propq, | ||||||
|  |                                          pkey, NULL); | ||||||
|             break; |             break; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue