File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
parsec-openssl-provider/src/keymgmt Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -219,13 +219,15 @@ OSSL_FUNC_keymgmt_import() can handle
219
219
pub unsafe extern "C" fn parsec_provider_kmgmt_import_types (
220
220
selection : std:: os:: raw:: c_int ,
221
221
) -> * const OSSL_PARAM {
222
- if selection & OSSL_KEYMGMT_SELECT_OTHER_PARAMETERS as std:: os:: raw:: c_int != 0 {
222
+ if selection & OSSL_KEYMGMT_SELECT_ALL_PARAMETERS as std:: os:: raw:: c_int != 0 {
223
223
static ONCE_INIT : std:: sync:: Once = std:: sync:: Once :: new ( ) ;
224
- static mut IMPORT_TYPES_TABLE : [ OSSL_PARAM ; 2 ] = [ ossl_param ! ( ) ; 2 ] ;
224
+ static mut IMPORT_TYPES_TABLE : [ OSSL_PARAM ; 4 ] = [ ossl_param ! ( ) ; 4 ] ;
225
225
226
226
ONCE_INIT . call_once ( || {
227
227
IMPORT_TYPES_TABLE = [
228
228
ossl_param ! ( PARSEC_PROVIDER_KEY_NAME , OSSL_PARAM_UTF8_PTR ) ,
229
+ ossl_param ! ( OSSL_PKEY_PARAM_RSA_N , OSSL_PARAM_UNSIGNED_INTEGER ) ,
230
+ ossl_param ! ( OSSL_PKEY_PARAM_RSA_E , OSSL_PARAM_UNSIGNED_INTEGER ) ,
229
231
ossl_param ! ( ) ,
230
232
] ;
231
233
} ) ;
You can’t perform that action at this time.
0 commit comments