code=-1;
phase=0;
-(void) rou_alert(0,"%s JMPDBG got <%s>",OPEP,buffer);
proceed=(strlen(buffer)>0);
while (proceed==true) {
+ (void) rou_alert(0,"%s JMPDBG phase='%d' buffer=<%s>",OPEP,phase,buffer);
switch (phase) {
case 0 : //check the authentication type
for (code=0;vocloc[code]!=(char *)0;code++) {
taille=strlen(vocloc[code]);
ptr=buffer+taille;
- (void) memcpy(buffer,ptr,taille);
+ (void) memcpy(buffer,ptr,strlen(ptr)+1);
break;
}
}
}
break;
case 1 : //working accoring auth mode
+ (void) rou_alert(0,"%s clean buffer=<%s>",OPEP,cnv_getb64(buffer));
switch (code) {
case 0 : //plain auth
- (void) rou_alert(0,"%s clean buffer=<%x>",OPEP,cnv_getb64(buffer));
break;
case 1 : //login auth
/* conversion. */
/* */
/********************************************************/
-#include <openssl/bio.h>
-#include <openssl/evp.h>
#include <ctype.h>
#include <stdbool.h>
#include <string.h>
+#define OPENSSL_NO_KRB5
+#include <openssl/bio.h>
+#include <openssl/evp.h>
+#include <openssl/err.h>
+#include <openssl/ssl.h>
+
#include "subcnv.h"
/*