Skip to content

Commit 3905c28

Browse files
authored
Merge pull request #687 from UnknownDK/fix-flag-scopes
Fix PBES and OMAC flag scopes
2 parents a6b9aff + 0672c61 commit 3905c28

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/headers/tomcrypt_private.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@ typedef struct
108108
/* only used for RC2 */
109109
unsigned long key_bits;
110110
} pbes_arg;
111-
#endif
112111

113112
typedef struct {
114113
const pbes_properties *data;
115114
const char *oid;
116115
} oid_to_pbes;
116+
#endif
117117

118118
/*
119119
* Internal functions
@@ -179,8 +179,9 @@ int func_name (hash_state * md, const unsigned char *in, unsigned long inlen)
179179
int ocb3_int_ntz(unsigned long x);
180180
void ocb3_int_xor_blocks(unsigned char *out, const unsigned char *block_a, const unsigned char *block_b, unsigned long block_len);
181181

182+
#ifdef LTC_OMAC
182183
int omac_vprocess(omac_state *omac, const unsigned char *in, unsigned long inlen, va_list args);
183-
184+
#endif
184185
/* tomcrypt_math.h */
185186

186187
#if !defined(DESC_DEF_ONLY)

0 commit comments

Comments
 (0)