Fix undefined variable error on BE arches

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4293 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2008-11-14 23:04:06 +00:00
parent 8ec6748452
commit 87452f1183

View file

@ -301,7 +301,9 @@ crypto_verify_pkcs12 (const GByteArray *data,
SECStatus s;
char *ucs2_password;
glong ucs2_chars = 0;
#ifndef WORDS_BIGENDIAN
guint16 *p;
#endif /* WORDS_BIGENDIAN */
if (error)
g_return_val_if_fail (*error == NULL, FALSE);
@ -330,7 +332,7 @@ crypto_verify_pkcs12 (const GByteArray *data,
#ifndef WORDS_BIGENDIAN
for (p = (guint16 *) pw.data; p < (guint16 *) (pw.data + pw.len); p++)
*p = GUINT16_SWAP_LE_BE (*p);
#endif
#endif /* WORDS_BIGENDIAN */
} else {
/* NULL password */
pw.data = NULL;