sb 1-2
This commit is contained in:
1 parent
1eba2934d3
commit
a2e0206604
15 files changed
+1311
-2
No files matched your search
@@ -0,0 +1,23 @@
|
||||
#include <ctype.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "md5.h"
|
||||
#include "h.h"
|
||||
|
||||
static const char *extSecret = "\x5e\x4f\xbe\x45\x5e\x4c\x8d\x40\x9f\xeb\x26\x5e\x4f\xbe\x45\x5e\x4c\x3d\x30\x7c";
|
||||
|
||||
void
|
||||
mdsnakext(const char *serno, const char *actkey, const char *snakext,
|
||||
char snakextmd[static 7])
|
||||
{
|
||||
char *canon;
|
||||
|
||||
canon = BSCanon(snakext);
|
||||
extmd(snakextmd, 4, extSecret, serno, actkey, canon);
|
||||
free(canon);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user