зеркало из https://github.com/mozilla/gecko-dev.git
Ensure function SHA1_TraceState is always defined, even when TRACING_SSL
is not defined.
This commit is contained in:
Родитель
ca6ec16975
Коммит
29c09b0208
|
@ -35,6 +35,7 @@
|
|||
#include <memory.h>
|
||||
#include "blapi.h"
|
||||
#include "sha_fast.h"
|
||||
#include "prerror.h"
|
||||
|
||||
#ifdef TRACING_SSL
|
||||
#include "ssl.h"
|
||||
|
@ -383,10 +384,10 @@ SHA1_Resurrect(unsigned char *space,void *arg)
|
|||
return cx;
|
||||
}
|
||||
|
||||
#ifdef TRACING_SSL
|
||||
void
|
||||
SHA1_TraceState(SHA1Context *ctx)
|
||||
{
|
||||
#ifdef TRACING_SSL
|
||||
uint32 W;
|
||||
int i;
|
||||
int len;
|
||||
|
@ -414,5 +415,7 @@ SHA1_TraceState(SHA1Context *ctx)
|
|||
|
||||
PRINT_BUF(99, (0, "SHA1_TraceState: buffered input", buf, len));
|
||||
|
||||
}
|
||||
#else
|
||||
PORT_SetError(PR_NOT_IMPLEMENTED_ERROR);
|
||||
#endif
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче