File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ impl<T> PkeyCtxRef<T> {
743
743
#[ cfg( ossl320) ]
744
744
#[ corresponds( EVP_PKEY_CTX_set_params ) ]
745
745
pub fn set_nonce_type ( & mut self , nonce_type : NonceType ) -> Result < ( ) , ErrorStack > {
746
- let nonce_field_name = CStr :: from_bytes_with_nul ( "nonce-type\0 " . as_bytes ( ) ) . unwrap ( ) ;
746
+ let nonce_field_name = CStr :: from_bytes_with_nul ( b "nonce-type\0 ") . unwrap ( ) ;
747
747
let mut nonce_type = nonce_type. 0 ;
748
748
unsafe {
749
749
let param_nonce =
@@ -765,7 +765,7 @@ impl<T> PkeyCtxRef<T> {
765
765
#[ cfg( ossl320) ]
766
766
#[ corresponds( EVP_PKEY_CTX_get_params ) ]
767
767
pub fn nonce_type ( & mut self ) -> Result < NonceType , ErrorStack > {
768
- let nonce_field_name = CStr :: from_bytes_with_nul ( "nonce-type\0 " . as_bytes ( ) ) . unwrap ( ) ;
768
+ let nonce_field_name = CStr :: from_bytes_with_nul ( b "nonce-type\0 ") . unwrap ( ) ;
769
769
let mut nonce_type: c_uint = 0 ;
770
770
unsafe {
771
771
let param_nonce =
You can’t perform that action at this time.
0 commit comments