Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/include/common.global.class.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2484 by niro, Thu Sep 10 08:48:45 2015 UTC revision 2485 by niro, Thu Sep 10 12:29:57 2015 UTC
# Line 368  $@ Line 368  $@
368  quit  quit
369  EOF  EOF
370  }  }
371    
372    nsslsay_queue_init()
373    {
374     SSLSAY_QUEUE=()
375    }
376    
377    nsslsay_queue_add()
378    {
379     SSLSAY_QUEUE+=( "$@" )
380    }
381    
382    nsslsay_queue_print()
383    {
384     local count
385     local i
386    
387     count="${#SSLSAY_QUEUE[*]}"
388     for ((i=0; i < count; i++))
389     do
390     echo "${SSLSAY_QUEUE[${i}]}"
391     done
392    }
393    
394    nsslsay_queue_run()
395    {
396     nsslsay "$(nsslsay_queue_print)"
397    }
398    
399    nsslsay_queue_run_fingerprint()
400    {
401     nsslsay_fingerprint "$(nsslsay_queue_print)"
402    }

Legend:
Removed from v.2484  
changed lines
  Added in v.2485