Skip to content

Commit 26dc276

Browse files
committed
move LTC_SSHDATA_EOL to the beginning of the enum
If there's an EOL at the end of the enum I'm tempted to add new entries before that one and then this will break the ABI which I don't like.
1 parent 5ded083 commit 26dc276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/headers/tomcrypt_misc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,14 +163,14 @@ int padding_depad(const unsigned char *data, unsigned long *length, unsigned lon
163163

164164
#ifdef LTC_SSH
165165
typedef enum ssh_data_type_ {
166+
LTC_SSHDATA_EOL,
166167
LTC_SSHDATA_BYTE,
167168
LTC_SSHDATA_BOOLEAN,
168169
LTC_SSHDATA_UINT32,
169170
LTC_SSHDATA_UINT64,
170171
LTC_SSHDATA_STRING,
171172
LTC_SSHDATA_MPINT,
172173
LTC_SSHDATA_NAMELIST,
173-
LTC_SSHDATA_EOL
174174
} ssh_data_type;
175175

176176
/* VA list handy helpers with tuples of <type, data> */

0 commit comments

Comments
 (0)