Sha256: 1e5c13d70add349db3ff425355010c4e5e2c07845502b8d6ac6148e27dd11551

Contents?: true

Size: 453 Bytes

Versions: 39

Compression:

Stored size: 453 Bytes

Contents

require 'appmap/handler/function_handler'

module AppMap
  module Handler
    class OpenSSLHandler < FunctionHandler
      def handle_call(receiver, args)
        super.tap do |event|
          algorithm = receiver.name
          event.receiver[:labels] ||= []
          label = [ 'crypto.algorithm', algorithm ].join('.')
          event.receiver[:labels] << label unless event.receiver[:labels].include?(label)
        end
      end
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
appmap-1.1.1 lib/appmap/handler/open_ssl_handler.rb
appmap-1.0.1 lib/appmap/handler/open_ssl_handler.rb
appmap-1.0.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.103.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.102.2 lib/appmap/handler/open_ssl_handler.rb
appmap-0.102.1 lib/appmap/handler/open_ssl_handler.rb
appmap-0.102.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.101.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.100.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.99.4 lib/appmap/handler/open_ssl_handler.rb
appmap-0.99.2 lib/appmap/handler/open_ssl_handler.rb
appmap-0.99.1 lib/appmap/handler/open_ssl_handler.rb
appmap-0.99.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.98.1 lib/appmap/handler/open_ssl_handler.rb
appmap-0.98.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.97.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.96.0 lib/appmap/handler/open_ssl_handler.rb
appmap-0.95.2 lib/appmap/handler/open_ssl_handler.rb
appmap-0.95.1 lib/appmap/handler/open_ssl_handler.rb
appmap-0.95.0 lib/appmap/handler/open_ssl_handler.rb