diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-04-29 16:13:44 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-04-29 16:13:44 -0400 |
commit | 39cb5641b1db28a317a2484d4079885481ed51a4 (patch) | |
tree | 901188ba1b576b2b1e453185fa57248b84725dcd /ext | |
parent | ff6bc0151d51311c763c7ed5d02d505223cd4872 (diff) | |
download | mongo-39cb5641b1db28a317a2484d4079885481ed51a4.tar.gz |
KNF
Diffstat (limited to 'ext')
-rw-r--r-- | ext/encryptors/rotn/rotn_encrypt.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ext/encryptors/rotn/rotn_encrypt.c b/ext/encryptors/rotn/rotn_encrypt.c index ef11dfe1966..7be0459f277 100644 --- a/ext/encryptors/rotn/rotn_encrypt.c +++ b/ext/encryptors/rotn/rotn_encrypt.c @@ -67,14 +67,16 @@ /* Local encryptor structure. */ typedef struct { - WT_ENCRYPTOR encryptor; /* Must come first */ - WT_EXTENSION_API *wt_api; /* Extension API */ - uint32_t rot_N; /* rotN value */ - char *keyid; /* Saved keyid */ + WT_ENCRYPTOR encryptor; /* Must come first */ + + WT_EXTENSION_API *wt_api; /* Extension API */ + + uint32_t rot_N; /* rotN value */ + char *keyid; /* Saved keyid */ char *secretkey; /* Saved secretkey */ - unsigned char *shift_forw; /* Encrypt shift data from secretkey */ - unsigned char *shift_back; /* Decrypt shift data from secretkey */ - size_t shift_len; /* Length of shift* byte arrays */ + unsigned char *shift_forw; /* Encrypt shift data from secretkey */ + unsigned char *shift_back; /* Decrypt shift data from secretkey */ + size_t shift_len; /* Length of shift* byte arrays */ } ROTN_ENCRYPTOR; /*! [WT_ENCRYPTOR initialization structure] */ |