File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
parsec-openssl-provider/src/keymgmt Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -424,8 +424,16 @@ pub unsafe extern "C" fn parsec_provider_kmgmt_query_operation_name(
424
424
PARSEC_PROVIDER_RSA_NAME . as_ptr ( ) as * const std:: os:: raw:: c_char
425
425
}
426
426
427
+ pub unsafe extern "C" fn parsec_provider_ecdsa_kmgmt_query_operation_name (
428
+ _operation_id : std:: os:: raw:: c_int ,
429
+ ) -> * const std:: os:: raw:: c_char {
430
+ return PARSEC_PROVIDER_ECDSA_NAME . as_ptr ( ) as * const std:: os:: raw:: c_char ;
431
+ }
432
+
427
433
const OSSL_FUNC_KEYMGMT_QUERY_OPERATION_NAME_PTR : KeyMgmtQueryOperationNamePtr =
428
434
parsec_provider_kmgmt_query_operation_name;
435
+ const OSSL_FUNC_KEYMGMT_ECDSA_QUERY_OPERATION_NAME_PTR : KeyMgmtQueryOperationNamePtr =
436
+ parsec_provider_ecdsa_kmgmt_query_operation_name;
429
437
pub type KeyMgmtQueryOperationNamePtr =
430
438
unsafe extern "C" fn ( std:: os:: raw:: c_int ) -> * const std:: os:: raw:: c_char ;
431
439
pub type KeyMgmtDupPtr = unsafe extern "C" fn ( VOID_PTR , std:: os:: raw:: c_int ) -> VOID_PTR ;
@@ -522,7 +530,7 @@ const PARSEC_PROVIDER_KEYMGMT_ECDSA_IMPL: [OSSL_DISPATCH; 13] = [
522
530
unsafe {
523
531
ossl_dispatch ! (
524
532
OSSL_FUNC_KEYMGMT_QUERY_OPERATION_NAME ,
525
- OSSL_FUNC_KEYMGMT_QUERY_OPERATION_NAME_PTR
533
+ OSSL_FUNC_KEYMGMT_ECDSA_QUERY_OPERATION_NAME_PTR
526
534
)
527
535
} ,
528
536
unsafe {
You can’t perform that action at this time.
0 commit comments