1 parent
e47db2ea47
commit
5f86acee91
1 file changed
+2
-2
@@ -856,11 +856,11 @@ mud_keyx(struct mud *mud, unsigned char *remote, int aes)
|
||||
return 0;
|
||||
|
||||
crypto_aead_aes256gcm_beforenm((crypto_aead_aes256gcm_state *)
|
||||
mud->crypto.next.encrypt.state,
|
||||
&mud->crypto.next.encrypt.state,
|
||||
mud->crypto.next.encrypt.key);
|
||||
|
||||
crypto_aead_aes256gcm_beforenm((crypto_aead_aes256gcm_state *)
|
||||
mud->crypto.next.decrypt.state,
|
||||
&mud->crypto.next.decrypt.state,
|
||||
mud->crypto.next.decrypt.key);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user