summaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-16 10:18:02 -0400
committerNick Mathewson <nickm@torproject.org>2016-09-16 10:20:08 -0400
commit83129031b1a1a3c719810d30df0e3ec6fa320661 (patch)
treeb59822b425414831cdcbab5db3fe649b36a4f2ac /src/common/crypto.h
parentff116b780896bb735f887a669d87694bb6d8a964 (diff)
downloadtor-83129031b1a1a3c719810d30df0e3ec6fa320661.tar.gz
tor-83129031b1a1a3c719810d30df0e3ec6fa320661.zip
Remove a needless level of indirection from crypto_cipher_t
Now that crypto_cipher_t only contains a pointer, it no longer has any reason for an independent existence.
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 2d1155e205..e60cf34343 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -117,7 +117,7 @@ typedef struct {
} common_digests_t;
typedef struct crypto_pk_t crypto_pk_t;
-typedef struct crypto_cipher_t crypto_cipher_t;
+typedef struct aes_cnt_cipher crypto_cipher_t;
typedef struct crypto_digest_t crypto_digest_t;
typedef struct crypto_xof_t crypto_xof_t;
typedef struct crypto_dh_t crypto_dh_t;