-lssl \
#--------------------------------------------------------------------
+#testing area
+dbgmd5 : debug
+ gdb \
+ --args \
+ ./digmd5 secret bigre
+#--------------------------------------------------------------------
#Dependances
#--------------------------------------------------------------------
digmd5 : toremake digmd5.o
- @ $(LD) $(LDFLAGS) -o ../bin/$@ $@.o $(LIBS)
+ @ $(LD) $(LDFLAGS) -o ../tools/$@ $@.o $(LIBS)
digmd5.o: digmd5.c \
../lib/unidig.h \
*/
/********************************************************/
/* */
+/* Procedure to check the DIGEST response */
/* */
/********************************************************/
+static int chkresponse(int argc,char *argv[])
+
+{
+#define OPEP "digmd5.c:chkresponse,"
+
+int status;
+int phase;
+_Bool proceed;
+
+status=-1;
+phase=0;
+proceed=true;
+while (proceed==true) {
+ switch (phase) {
+ case 0 : //
+ (void) rou_alert(0,"%s, argv[1]=<%s>",OPEP,argv[1]);
+ break;
+ default : //SAFE Guard
+ proceed=false;
+ break;
+ }
+ phase++;
+ }
+return status;
+#undef OPEP
+}
/*
\f
*/
foreground=true;
break;
case 3 : //doing main task
+ (void) chkresponse(params->argc,params->argv);
break;
default : //end of task
proceed=false;