diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-23 12:16:54 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-03-23 12:16:54 +0000 |
commit | 1eff1dd92bb79997fb81a8dc53da7c73c4308e98 (patch) | |
tree | 3b708d93687bf7b9c694c2970df25e348c624883 /lib/gnutls_constate.c | |
parent | 50e430c625cd065dbc488ccd698fb8d7c9ac7bc4 (diff) | |
download | gnutls-1eff1dd92bb79997fb81a8dc53da7c73c4308e98.tar.gz |
* Added support for encoding and decoding PKCS #8 2.0 encrypted
RSA private keys.
Diffstat (limited to 'lib/gnutls_constate.c')
-rw-r--r-- | lib/gnutls_constate.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/gnutls_constate.c b/lib/gnutls_constate.c index feffe96b6b..01fe09899a 100644 --- a/lib/gnutls_constate.c +++ b/lib/gnutls_constate.c @@ -541,9 +541,9 @@ int _gnutls_read_connection_state_init(gnutls_session session) session->connection_state.read_cipher_state = _gnutls_cipher_init(session->security_parameters. read_bulk_cipher_algorithm, - session->cipher_specs. + &session->cipher_specs. client_write_key, - session->cipher_specs. + &session->cipher_specs. client_write_IV); if (session->connection_state.read_cipher_state == GNUTLS_CIPHER_FAILED @@ -575,9 +575,9 @@ int _gnutls_read_connection_state_init(gnutls_session session) session->connection_state.read_cipher_state = _gnutls_cipher_init(session->security_parameters. read_bulk_cipher_algorithm, - session->cipher_specs. + &session->cipher_specs. server_write_key, - session->cipher_specs. + &session->cipher_specs. server_write_IV); if (session->connection_state.read_cipher_state == @@ -724,9 +724,9 @@ int _gnutls_write_connection_state_init(gnutls_session session) session->connection_state.write_cipher_state = _gnutls_cipher_init(session->security_parameters. write_bulk_cipher_algorithm, - session->cipher_specs. + &session->cipher_specs. server_write_key, - session->cipher_specs. + &session->cipher_specs. server_write_IV); if (session->connection_state.write_cipher_state == @@ -761,9 +761,9 @@ int _gnutls_write_connection_state_init(gnutls_session session) session->connection_state.write_cipher_state = _gnutls_cipher_init(session->security_parameters. write_bulk_cipher_algorithm, - session->cipher_specs. + &session->cipher_specs. client_write_key, - session->cipher_specs. + &session->cipher_specs. client_write_IV); if (session->connection_state.write_cipher_state == |