Skip to content
Snippets Groups Projects
Commit f2f3d967 authored by javi%netscape.com's avatar javi%netscape.com
Browse files

We need ssm_swap_bytes defined regardless of whether we're building on a

little endian machine.
parent cd93ed73
No related branches found
No related tags found
No related merge requests found
...@@ -383,7 +383,6 @@ ssmpkcs12context_createpkcs12file(SSMPKCS12Context *cxt, ...@@ -383,7 +383,6 @@ ssmpkcs12context_createpkcs12file(SSMPKCS12Context *cxt,
return rv; return rv;
} }
#ifdef IS_LITTLE_ENDIAN
void ssm_switch_endian(unsigned char *buf, unsigned int len) void ssm_switch_endian(unsigned char *buf, unsigned int len)
{ {
unsigned int i; unsigned int i;
...@@ -395,7 +394,6 @@ void ssm_switch_endian(unsigned char *buf, unsigned int len) ...@@ -395,7 +394,6 @@ void ssm_switch_endian(unsigned char *buf, unsigned int len)
buf[i+1] = tmp; buf[i+1] = tmp;
} }
} }
#endif
/* This function converts ASCII strings to UCS2 strings in Network Byte Order. /* This function converts ASCII strings to UCS2 strings in Network Byte Order.
** The "swapBytes" argument is ignored. ** The "swapBytes" argument is ignored.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment